package com.itsu.interfaces.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("tb_user_freeze")
public class UserFreeze implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    //冻结时间
    private Integer freezingTime;
    //冻结范围
    private Integer freezingRange;
    //解冻时间
    private Date thawTime;
    //原因
    private String reason;
    //备注
    private String remark;
}
